public class World{
	private static String locat = "acoricoSquare";
	
	public static void setLocat(String newLocat)
	{
	    locat = newLocat;
	   }
	public static void go(String str)
	{
		switch(locat)
		{
			case "acoricoSquare":
				acoricoSquare(str);
				break;
			case "lab":
				lab(str);
				break;
			default:
			System.out.println("havent made that yet");
			break;
		}
	}
	public static void acoricoSquare(String command)
	{
		switch (command)
		{
			case "l": 
				System.out.println("You are in the square of Gemini's city Acorico. To the");
				System.out.println("north is the Oaks's lab. Some docks in the west lead");
				System.out.println("to the port. The main street goes east from the square");
				System.out.println("to the market. Going south will exit the city.");
				break; 
			case "n": case "lab":
				locat = "lab";
				World.go("l");
				break;
			case "e": case "market":
				locat = "acoricoMarket";
				World.go("l");
				break;
			case "s":
				locat = "acoricoGate";
				World.go("l");
				break;
			case "w":
				locat = "acoricoDocks";
				World.go("l");
				break;
			case "vpid": break;
			default:
				System.out.println("I dont understand.");
				break;
		}
	}
	public static void market(String str)
	{
		switch(str)
		{
			case "l":
				System.out.println("You are in the marketplace. There is an inn, weaponsmith,");
				System.out.println("armorsmith, and general store. (\"back\" at any time will");
				System.out.println("leave)");
				System.out.println("\n\tInn\tArmor\tWeapons\tGeneral");
				break;
			case "inn":
				//Places.inn();
				break;
			case "armor": case "armory": case "armorsmith":
				//Places.armor();
				break;
			case "weapons": case "weaponsmith":
				//Places.weapons();
				break;
			case "general":
				//Places.general();
				break;
			case "void": break;
			default: 
			System.out.println("I dont understand");
		}
	}
	public static void lab(String str)
	{
	    
	   }
	
}
